package com.apex.springcloud.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author XiaoYang
 * @version 1.0
 * @program: springcloud-parant
 * @Classname Dept
 * @description TODO
 * @date 2021/7/14 15:05
 */
//无参构造
@NoArgsConstructor
@Data
//链式写法
@Accessors(chain = true)
public class Dept implements Serializable {

    private Long deptno;
    private String dname;
    private String db_source;

    public Dept(String dname){
        this.dname=dname;
    }



}
